<?php
private function overview(){
    $this->data['navi_ov_active']='class="navi_active"';

    $this->data['buttons']['fp']=$this->language->get('button_front_page');
    $this->data['button_links'][]=$this->url->link('community/ucp','mode=ov&action=fp','SSL');

    $this->data['buttons']['ms']=$this->language->get('button_manage_subscriptions');
    $this->data['button_links'][]=$this->url->link('community/ucp','mode=ov&action=ms','SSL');

    $this->data['buttons']['mb']=$this->language->get('button_manage_bookmarks');
    $this->data['button_links'][]=$this->url->link('community/ucp','mode=ov&action=mb','SSL');

    $this->data['buttons']['md']=$this->language->get('button_manage_drafts');
    $this->data['button_links'][]=$this->url->link('community/ucp','mode=ov&action=md','SSL');

    if(!isset($this->request->get['action'])){
        $this->request->get['action']='fp';
    }

    switch($this->request->get['action']){
        case 'fp':
            $this->data['ucp_heading']=$this->language->get('text_front_page');
            $this->data['content_type']='ov_fp';
            $this->data['text_action']='fp';

            break;
        case 'ms':
            $this->data['ucp_heading']=$this->language->get('text_manage_subscriptions');
            $this->data['content_type']='ov_ms';
            $this->data['text_action']='ms';
            break;
        case 'mb':
            $this->data['ucp_heading']=$this->language->get('text_manage_bookmarks');
            $this->data['content_type']='ov_mb';
            $this->data['text_action']='mb';
            break;
        case 'md':
            $this->data['ucp_heading']=$this->language->get('text_manage_drafts');
            $this->data['content_type']='ov_md';
            $this->data['text_action']='md';
            break;
    }
}